Markdown

![these are my pigs](Peegs.jpg) these are my pigs

Resizing images in Markdown is requried if you are knitting to a pdf - because you can’t use HTML code.

Tip and tricks for workign wtih images and figures in R Markdown documents - hollie@zevross.com

Adjust the out.width and out.hight in the R chunk options

{r, out.width="50%"}  
img <- "Peegs.jpg" #path to image  
knitr::include_graphics(img) #in the knitr package   

HTML in markdown

In my opinon, HTML is a lot easier to use for images options.

HTML Images

<img src="Peegs.jpg" alt="these are my pigs" width="50%">
these are my pigs